#{extends 'main.html' /} #{set title:'recommendedTutorial.html' /}

<body style="background-color: White;">

	<h2>
		<font size="5" face="Arial" color="Green"> <i> Your List of
				Recommended Tutorial : </i>
		</font>
	</h2>
	#{ifnot recommendTutorials}
	<p>You have no Recommended Tutorials</p>
	#{/ifnot}
	<tr>#{list items:recommendTutorials, as:'tutorialList'}
	</tr>

	<td>
		<ul>
			<li>${tutorialList.Title.raw()}</li>
		</ul> #{/list}
		<p>
			<font size="5" face="Arial" color="Green"> <i> List of
					Tutorials : </i>
			</font> #{ifnot tutorials} there is no tutorials #{/ifnot} #{list items:tutorials, as:'tutorial'}
		<li>${tutorial.Title.raw()}</li>
		<form action="@{CommunityLists.recommendTutorial()}" method="GET">
			<button name="commId" type="submit" value="${commId}">Recommend
				this tutorial</button>
			<input type="hidden" name="tutorialId" value="${tutorial.id}" />
		</form> #{/list} <a href="@{Application.viewProfile()}">Back to Profile
			Page</a>
</body>